Page({
    data: {
        books: [
            { id: 111, name: '代码大全', price: 98 },
            { id: 112, name: '你不知道的javaScript', price: 87 },
            { id: 113, name: 'javaScript高级设计', price: 76 },
        ],
        playCount: 121212121,
        currentTime: 100,
        duration: 255
    },
    formatPrice(price) {
        return '$' + price
    }
})